<!--
Date: 2025-08-13
Copyright (c) 2025 CAX Conversion Project
-->
<template>
  <el-dialog v-model="dialogVisible" title="开始转换" width="300" :before-close="closeDialog">
    <div class="text-center">
      <el-progress type="circle" :percentage="25" />
    </div>
    <template #footer>
      <div class="dialog-footer text-center">
        <el-button type="primary" @click="closeDialog">关闭</el-button>
      </div>
    </template>
  </el-dialog>
</template>

<script setup name="ProgressDialog" lang="ts">
const dialogVisible = ref(false);
const openDialog = () => {
  dialogVisible.value = true;
};
const closeDialog = () => {
  dialogVisible.value = false;
};
defineExpose({
  openDialog,
  closeDialog
});
</script>
<style lang="scss" scoped></style>
